package com.bs.bszhsq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 周边服务
 * </p>
 *
 * @author 章宇光
 * @since 2024-03-26
 */
@ApiModel(value = "Service对象", description = "周边服务")
@TableName(value = "service")
public class IService implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("创建时间")
      private LocalDateTime addtime;

      @ApiModelProperty("服务名称")
      private String name;

      @ApiModelProperty("服务类型")
      private String type;

      @ApiModelProperty("联系方式")
      private String phone;

      @ApiModelProperty("服务内容")
      private String content;

      @ApiModelProperty("服务价格")
      private Integer price;

      @ApiModelProperty("服务介绍")
      private String introducer;
      @ApiModelProperty("预约人")
      private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getId() {
        return id;
    }

      public void setId(Long id) {
          this.id = id;
      }
    
    public LocalDateTime getAddtime() {
        return addtime;
    }

      public void setAddtime(LocalDateTime addtime) {
          this.addtime = addtime;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public String getType() {
        return type;
    }

      public void setType(String type) {
          this.type = type;
      }
    
    public String getPhone() {
        return phone;
    }

      public void setPhone(String phone) {
          this.phone = phone;
      }
    
    public String getContent() {
        return content;
    }

      public void setContent(String content) {
          this.content = content;
      }
    
    public Integer getPrice() {
        return price;
    }

      public void setPrice(Integer price) {
          this.price = price;
      }
    
    public String getIntroducer() {
        return introducer;
    }

      public void setIntroducer(String introducer) {
          this.introducer = introducer;
      }

    @Override
    public String toString() {
        return "Service{" +
              "id = " + id +
                  ", addtime = " + addtime +
                  ", name = " + name +
                  ", type = " + type +
                  ", phone = " + phone +
                  ", content = " + content +
                  ", price = " + price +
                  ", introducer = " + introducer +
              "}";
    }
}
